package com.qf.util;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * 2019/11/13
 * Administrator
 * spring_proxy
 * 面向对象面向君  不负代码不负卿
 */
public class BeforeTx implements MethodBeforeAdvice {
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        System.out.println("事务的前置增强");
    }
}
